package com.imooc.service;

import com.imooc.dto.OrderDto;
import com.lly835.bestpay.model.PayResponse;
import com.lly835.bestpay.model.RefundResponse;

/**
 * 功能描述: <br>
 * (支付模块service)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 17:13
 * @since: 1.8.0
 * @version: 1.0.0
 */
public interface PayService {

    /*发起支付*/
    PayResponse create(OrderDto orderDto);

    /*支付回调*/
    PayResponse notify(String notifyData);

    /*退款*/
    RefundResponse refund(OrderDto orderDto);

}
